<template>
	<view>
		<!-- <navigator url="/pages/tabBar/minePags/setPage/setPage/setPage">(我的)设置</navigator> -->
		<view class="" @click="jumpSetPage()">
			(我的)设置
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			jumpSetPage(){
				uni.navigateTo({
					url:"/pages/tabBar/minePags/setPage/setPage/setPage?id=20&name=脆脆鲨"
				}),
				uni.getLocation({
					type: 'wgs84',
					success: function (res) {
						console.log('当前位置的经度：' + res.longitude);
						console.log('当前位置的纬度：' + res.latitude);
					}
				}),
				uni.getLocation({
					type: 'gcj02', //返回可以用于uni.openLocation的经纬度
					success: function (res) {
						const latitude = res.latitude;
						const longitude = res.longitude;
						uni.openLocation({
							latitude: latitude,
							longitude: longitude,
							success: function () {
								console.log('success');
							}
						})
					}
				})
			}
		}
	}
</script>

<style>

</style>
